﻿using Cl.Model.DataBaseEntityDtos.Goods.BaseGoods;
using Cl.Model.DataBaseEntityDtos.Orders.GoodsOrders;
using Cl.Model.Results;
using Cl.Utils.Primitives.Interface;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Service.Service.Orders.GoodsOrders
{
    public interface IGoodsOrderService : IScopedService
    {
        Task<PageResultModel<GoodsOrderOutputDto>> Query(SearchGoodsOrderDto request);

        Task<ResultInfoModel> CreateOrder(GoodsOrderInputDto value);

        Task<GoodsOrderOutputDto> FindOrder(string orderCode);

        Task<ResultInfoModel> PayOrder(PayOrderInputDto value);
    }
}
